package com.xtkj.superclub_friendscircle.client;

import com.xtkj.commons.JsonResult;
import com.xtkj.superclub_entity.entity.user.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 项目名称：superclub
 * 类 名 称：IUserInfoClient
 * 类 描 述：TODO
 * 创建时间：2020/1/4 14:58
 * 创 建 人：xiezhiyan
 */
@FeignClient("SUPERCLUB-USER")
public interface IUserInfoClient {
    @RequestMapping(value = "/user/getUser", method = RequestMethod.GET)
    @ResponseBody
    JsonResult getUser(@RequestBody User user);
}
